home *** CD-ROM | disk | FTP | other *** search
/ Mac-Source 1994 July / Mac-Source_July_1994.iso / Other Langs / Tickle-4.0 (tcl) / library / help / tcl / status / id < prev    next >
Encoding:
Text File  |  1993-10-26  |  2.1 KB  |  63 lines  |  [TEXT/$Tcl]

  1.  
  2.  
  3.           id options
  4.                This command provides a means of getting,  setting  and
  5.                converting user, group and process ids.  The id command
  6.                has the following options:
  7.  
  8.                id user ?name?
  9.  
  10.                id userid ?uid?
  11.                     Set the real and effective user ID to name or uid,
  12.                     if  the  name  (or  uid)  is valid and permissions
  13.                     allow it.  If the name (or uid) is not  specified,
  14.                     the current name (or uid) is returned.
  15.  
  16.                id convert userid uid
  17.  
  18.                id convert user name
  19.                     Convert a user ID number to a user name,  or  vice
  20.                     versa.
  21.  
  22.                id group ?name?
  23.  
  24.                id groupid ?gid?
  25.                     Set the real and effective group  ID  to  name  or
  26.                     gid, if the name (or gid) is valid and permissions
  27.                     allow it.  If the  group  name  (or  gid)  is  not
  28.                     specified,  the  current  group  name  (or gid) is
  29.                     returned.
  30.  
  31.                id convert groupid gid
  32.  
  33.                id convert group name
  34.                     Convert a group ID number to a group name, or vice
  35.                     versa.
  36.  
  37.                id effective user
  38.  
  39.                id effective userid
  40.                     Return the effective user name, or effective  user
  41.                     ID number, respectively.
  42.  
  43.                id effective group
  44.  
  45.                id effective groupid
  46.                     Return the  effective  group  name,  or  effective
  47.                     group ID number, respectively.
  48.  
  49.                id process
  50.                     Return the process ID of the current process.
  51.  
  52.                id process parent
  53.                     Return the process ID of the parent of the current
  54.                     process.
  55.  
  56.                id process group
  57.                     Return the process group ID of  the  current  pro-
  58.                     cess.
  59.  
  60.                id process group set
  61.                     Set the process group ID of the current process to
  62.                     its process ID.
  63.